package mapplayer.scene
{
	import flash.geom.Point;
	
	import jp.co.cocone.view.mapplayer.IMPScene;
	import jp.co.cocone.view.mapplayer.IMapPlayer;
	
	import mx.containers.Canvas;

	public class MPScene extends Canvas implements IMPScene
	{
		private var _player :IMapPlayer;

		public function MPScene(player:IMapPlayer) {
			super();
			_player = player;
		}
		
		public function destroy() :void {
			_player = null;
		}


/*
		  /
		 / )  -angle
		+-----
		 * )  +angle
		  *

		+--------> +x
		|
 		|
		↓
		+y 		
 */

		private var _blockWidth :Number;
		private var _blockHeight :Number;


		public function setGridSize(w:Number, h:Number) :void
		{
		}


		public function worldToScreen(x:Number, y:Number, z:Number) :Point
		{
			return new Point();
		}

		public function screenToWorld(screenPos:Point, z:Number=0) :Object
		{
			return {x:0, y:0};
		}
	}
}